<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GstRTSPMediaFactoryURI: GStreamer RTSP Server Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="GStreamer RTSP Server Reference Manual">
<link rel="up" href="ch01.html" title="">
<link rel="prev" href="GstRTSPMediaFactory.html" title="GstRTSPMediaFactory">
<link rel="next" href="GstRTSPMedia.html" title="GstRTSPMedia">
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GstRTSPMediaFactoryURI.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GstRTSPMediaFactoryURI.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#GstRTSPMediaFactoryURI.properties" class="shortcut">Properties</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GstRTSPMediaFactory.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GstRTSPMedia.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GstRTSPMediaFactoryURI"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GstRTSPMediaFactoryURI.top_of_page"></a>GstRTSPMediaFactoryURI</span></h2>
<p>GstRTSPMediaFactoryURI — A factory for URI sources</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GstRTSPMediaFactoryURI.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="GstRTSPMediaFactoryURI.html" title="GstRTSPMediaFactoryURI"><span class="returnvalue">GstRTSPMediaFactoryURI</span></a> *
</td>
<td class="function_name">
<a class="link" href="GstRTSPMediaFactoryURI.html#gst-rtsp-media-factory-uri-new" title="gst_rtsp_media_factory_uri_new ()">gst_rtsp_media_factory_uri_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GstRTSPMediaFactoryURI.html#gst-rtsp-media-factory-uri-set-uri" title="gst_rtsp_media_factory_uri_set_uri ()">gst_rtsp_media_factory_uri_set_uri</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="GstRTSPMediaFactoryURI.html#gst-rtsp-media-factory-uri-get-uri" title="gst_rtsp_media_factory_uri_get_uri ()">gst_rtsp_media_factory_uri_get_uri</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GstRTSPMediaFactoryURI.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type">
<span class="type">gchar</span> *</td>
<td class="property_name"><a class="link" href="GstRTSPMediaFactoryURI.html#GstRTSPMediaFactoryURI--uri" title="The “uri” property">uri</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="GstRTSPMediaFactoryURI.html#GstRTSPMediaFactoryURI--use-gstpay" title="The “use-gstpay” property">use-gstpay</a></td>
<td class="property_flags">Read / Write</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GstRTSPMediaFactoryURI.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="GstRTSPMediaFactoryURI.html#GstRTSPMediaFactoryURI-struct" title="struct GstRTSPMediaFactoryURI">GstRTSPMediaFactoryURI</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="GstRTSPMediaFactoryURI.html#GstRTSPMediaFactoryURIClass" title="struct GstRTSPMediaFactoryURIClass">GstRTSPMediaFactoryURIClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GstRTSPMediaFactoryURI.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    GObject
    <span class="lineart">╰──</span> <a class="link" href="GstRTSPMediaFactory.html" title="GstRTSPMediaFactory">GstRTSPMediaFactory</a>
        <span class="lineart">╰──</span> GstRTSPMediaFactoryURI
</pre>
</div>
<div class="refsect1">
<a name="GstRTSPMediaFactoryURI.description"></a><h2>Description</h2>
<p>This specialized <a class="link" href="GstRTSPMediaFactory.html" title="GstRTSPMediaFactory"><span class="type">GstRTSPMediaFactory</span></a> constructs media pipelines from a URI,
given with <a class="link" href="GstRTSPMediaFactoryURI.html#gst-rtsp-media-factory-uri-set-uri" title="gst_rtsp_media_factory_uri_set_uri ()"><code class="function">gst_rtsp_media_factory_uri_set_uri()</code></a>.</p>
<p>It will automatically demux and payload the different streams found in the
media at URL.</p>
<p>Last reviewed on 2013-07-11 (1.0.0)</p>
</div>
<div class="refsect1">
<a name="GstRTSPMediaFactoryURI.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gst-rtsp-media-factory-uri-new"></a><h3>gst_rtsp_media_factory_uri_new ()</h3>
<pre class="programlisting"><a class="link" href="GstRTSPMediaFactoryURI.html" title="GstRTSPMediaFactoryURI"><span class="returnvalue">GstRTSPMediaFactoryURI</span></a> *
gst_rtsp_media_factory_uri_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Create a new <a class="link" href="GstRTSPMediaFactoryURI.html" title="GstRTSPMediaFactoryURI"><span class="type">GstRTSPMediaFactoryURI</span></a> instance.</p>
<div class="refsect3">
<a name="gst-rtsp-media-factory-uri-new.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="GstRTSPMediaFactoryURI.html" title="GstRTSPMediaFactoryURI"><span class="type">GstRTSPMediaFactoryURI</span></a> object. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-rtsp-media-factory-uri-set-uri"></a><h3>gst_rtsp_media_factory_uri_set_uri ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_rtsp_media_factory_uri_set_uri (<em class="parameter"><code><a class="link" href="GstRTSPMediaFactoryURI.html" title="GstRTSPMediaFactoryURI"><span class="type">GstRTSPMediaFactoryURI</span></a> *factory</code></em>,
                                    <em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>);</pre>
<p>Set the URI of the resource that will be streamed by this factory.</p>
<div class="refsect3">
<a name="gst-rtsp-media-factory-uri-set-uri.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>factory</p></td>
<td class="parameter_description"><p>a <a class="link" href="GstRTSPMediaFactory.html" title="GstRTSPMediaFactory"><span class="type">GstRTSPMediaFactory</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>uri</p></td>
<td class="parameter_description"><p>the uri the stream</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-rtsp-media-factory-uri-get-uri"></a><h3>gst_rtsp_media_factory_uri_get_uri ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> *
gst_rtsp_media_factory_uri_get_uri (<em class="parameter"><code><a class="link" href="GstRTSPMediaFactoryURI.html" title="GstRTSPMediaFactoryURI"><span class="type">GstRTSPMediaFactoryURI</span></a> *factory</code></em>);</pre>
<p>Get the URI that will provide media for this factory.</p>
<div class="refsect3">
<a name="gst-rtsp-media-factory-uri-get-uri.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>factory</p></td>
<td class="parameter_description"><p>a <a class="link" href="GstRTSPMediaFactory.html" title="GstRTSPMediaFactory"><span class="type">GstRTSPMediaFactory</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-rtsp-media-factory-uri-get-uri.returns"></a><h4>Returns</h4>
<p> the configured URI. <code class="function">g_free()</code> after usage. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
</div>
<div class="refsect1">
<a name="GstRTSPMediaFactoryURI.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GstRTSPMediaFactoryURI-struct"></a><h3>struct GstRTSPMediaFactoryURI</h3>
<pre class="programlisting">struct GstRTSPMediaFactoryURI;</pre>
<p>A media factory that creates a pipeline to play and uri.</p>
</div>
<hr>
<div class="refsect2">
<a name="GstRTSPMediaFactoryURIClass"></a><h3>struct GstRTSPMediaFactoryURIClass</h3>
<pre class="programlisting">struct GstRTSPMediaFactoryURIClass {
  GstRTSPMediaFactoryClass  parent_class;
};
</pre>
<p>The <a class="link" href="GstRTSPMediaFactoryURI.html" title="GstRTSPMediaFactoryURI"><span class="type">GstRTSPMediaFactoryURI</span></a> class structure.</p>
</div>
</div>
<div class="refsect1">
<a name="GstRTSPMediaFactoryURI.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GstRTSPMediaFactoryURI--uri"></a><h3>The <code class="literal">“uri”</code> property</h3>
<pre class="programlisting">  “uri”                      <span class="type">gchar</span> *</pre>
<p>The URI of the resource to stream.</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GstRTSPMediaFactoryURI--use-gstpay"></a><h3>The <code class="literal">“use-gstpay”</code> property</h3>
<pre class="programlisting">  “use-gstpay”               <span class="type">gboolean</span></pre>
<p>Use the gstpay payloader to avoid decoding.</p>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
</div>
</div>
<div class="refsect1">
<a name="GstRTSPMediaFactoryURI.see-also"></a><h2>See Also</h2>
<p><a class="link" href="GstRTSPMediaFactory.html" title="GstRTSPMediaFactory"><span class="type">GstRTSPMediaFactory</span></a>, <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.25</div>
</body>
</html>